using System;
using System.Collections;
using System.Collections.Generic;



namespace QLVMBAYDomain
{
    public enum TRANG_THAI:int
    {
        DAT_CHO=0,
        HOAN_TAT,
        HUY
    }
    public enum LOAI_DAT_CHO:int
    {
        MOT_CHIEU=0,
        KHU_HOI
    }
    public enum LUOT_DAT_CHO:int
    {
        CHIEU_DI=0,
        CHIEU_VE
    }
    public partial class DatCho 
    {
       
        #region Declarations

		private string _madatcho = String.Empty;
        
		private int _slve = default(Int32);
		private int _trangthai = default(Int32);
		private decimal _phihuy = default(Decimal);
		private decimal _tongtien = default(Decimal);
		private int _loaidatcho = default(Int32);
		private ChiTietChuyenBay _Chitietcbay = null;
		private HanhKhach _Hanhkhach = null;
    
		#endregion

        #region Constructors

        public DatCho() { }

        #endregion

        #region Properties

		public virtual string MaDatCho
        {
            get { return _madatcho; }
			set
			{
				_madatcho = value;
			}
        }
        public string MaVe { get; set; }
		public virtual int SLVe
        {
            get { return _slve; }
			set
			{
				_slve = value;
			}
        }

        public virtual TRANG_THAI TrangThai
        {
            get;
            set;
        }
		
		public virtual decimal PhiHuy
        {
            get { return _phihuy; }
			set
			{
				_phihuy = value;
			}
        }
		
		public virtual decimal TongTien
        {
            get { return _tongtien; }
			set
			{
				_tongtien = value;
			}
        }

        public virtual LOAI_DAT_CHO LoaiDatCho
        {
            get;
            set;
        }
		
		public virtual ChiTietChuyenBay ItemChiTietCBay
        {
            get { return _Chitietcbay; }
            set
			{
				_Chitietcbay = value;
			}
        }
		
		public virtual HanhKhach ItemHanhKhach
        {
            get { return _Hanhkhach; }
            set
			{
				_Hanhkhach = value;
			}
        }

        public LUOT_DAT_CHO LuotDatCho { get; set; }
		
		public override int GetHashCode()
		{
			return 0;
		}
		
        #endregion
    }
}
